package J20;

public class J20_BookDBVO {
	
		private String id; 			// 번호
		private String title; 
		private String publisher; 
		private String author; 
		private String regDate; 	// 등록일
	
		// 생성자를 통해 데이터를 초기화함
		// id(pk), regdate는 자동으로 입력되므로
		// 생성자의 매개변수 목록에서 제외
		public J20_BookDBVO(String title, String publisher,
				String author) {
			this.title = title;
			this.publisher = publisher;
			this.author = author;
			
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getPublisher() {
			return publisher;
		}

		public void setPublisher(String publisher) {
			this.publisher = publisher;
		}

		public String getAuthor() {
			return author;
		}

		public void setAuthor(String author) {
			this.author = author;
		}
	
		public String getRegDate() {
			return regDate;
		}

		public void setRegDate(String regDate) {
			this.regDate = regDate;
		}

		@Override
		public String toString() {
			return "J20_BookDBVO [id=" + id + ", title=" + title
					+ ", publisher=" + publisher + ", author=" + author
					+ ", regDate=" + regDate + "]";
		}

		
		
}
